package com.example.demo.enums;

/**
 * @author liguang03
 * @date 2023/11/21
 */
public enum TrainClassStatusEnum {

    ENABLE(1, "启用"),
    DISABLE(2, "禁用");

    private Integer key;
    private String desc;

    TrainClassStatusEnum(Integer key, String desc) {
        this.key = key;
        this.desc = desc;
    }

    public Integer getKey() {
        return key;
    }

    public String getDesc() {
        return desc;
    }
}
